#ifndef EXTERNAL_SDK_CLIENT_H_INCLUDE
#define EXTERNAL_SDK_CLIENT_H_INCLUDE

#ifdef __cplusplus
extern "C" {
#endif


typedef struct {
	int port;
    char username[32]; 	
    char passwd[32];  
    char url[128];
	char license_key[128];
}ExternalSdkClientLoginInfo;


typedef struct {
	int port;
	char session_id[128];
    char url[256];
    char *json_data;
}ExternalSdkClientCallParam;


typedef struct {
	char *username;			
	char *passwd;			
	char *datetime;			
	char *license_key; 		
	char* outdata;			
	int* outdatalen;
}ExternalSdkSha256;


int EXTERNAL_SDK_CLIENT_Login(ExternalSdkClientLoginInfo *login_info, char *session_id);


int EXTERNAL_SDK_CLIENT_Call(ExternalSdkClientCallParam *call_param, char **response);



#ifdef __cplusplus
}
#endif

#endif
